import request from '@/utils/request'

export function getKeys() {
  return request({
    url: '/api/app/caches',
    method: 'get'
  })
}

export function clearAllCache() {
  return request({
    url: '/api/app/caches/clear-all',
    method: 'post'
  })
}
export function clearCache(data) {
  return request({
    url: '/api/app/caches/clear',
    method: 'post',
    data
  })
}
